﻿@page
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.CmsKit.Localization
@using Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Pages
@model Volo.CmsKit.Public.Web.Pages.Public.CmsKit.Pages.IndexModel
@inject IHtmlLocalizer<CmsKitResource> L

@await Component.InvokeAsync(typeof(DefaultPageViewComponent),
    new
    {
        pageId = Model.Page.Id,
        title = Model.Page.Title,
        content = Model.Page.Content
    })